package com.party.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.party.common.annotation.Excel;
import com.party.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 投稿信息对象 t_tg_record
 *
 * @author ruoyi
 * @date 2025-04-24
 */
@Data
@TableName(value = "t_tg_record")
@EqualsAndHashCode(callSuper = true)
public class TTgRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * "姓名"
     */
    @Excel(name = "姓名")
    @NotBlank(message = "姓名不能为空")
    @Size(min = 0, max = 50, message = "姓名长度不能超过50个字符")
    private String name;

    /**
     * "联系方式"
     */
    @Excel(name = "联系方式")
    @NotBlank(message = "联系方式不能为空")
    @Size(min = 0, max = 50, message = "联系方式长度不能超过50个字符")
    private String linkFs;

    /**
     * "职位"
     */
    @Excel(name = "职位")
    @NotBlank(message = "职位不能为空")
    @Size(min = 0, max = 50, message = "职位长度不能超过50个字符")
    private String zw;

    /**
     * "文件"
     */
    @Excel(name = "文件")
    private String fjFile;

    private String delFlag;

}
